2 username="rinomizu5@5ead4c82685c65d7717dbd5591b80425036ae9e3"
4 avatar="http://cdn.libravatar.org/avatar/62478823018c68821064febcda7e5d4f"
5 subject="Additional Questions: git annex copy failed"
6 date="2022-08-08T10:31:04Z"
8 Thanks for the advice, joey.
10 I understand that the URL in the browser bar needs to be set to remote.
11 Then, after modifying the remote URL, I am trying to sync the contents of the git annex file to GIN using the https protocol.
12 But git annex copy command failed.
13 <pre>(base) <font color=\"#8AE234\"><b>mizuguchi@ubuntu</b></font>:<font color=\"#729FCF\"><b>~/https</b></font>$ git annex copy --to=origin test2.txt
14 copy test2.txt (not found) failed
17 I checked the origin remote has annex-uuid, and it's the same as uuid of [annex] in https://gin.g-node.org/ivis-mizuguchi/https/config.
18 I would like to know why git annex cannot find test2.txt.
20 ### The version of the tool used in my environment is below.
22 - git-annex version: 8.20211123+git12-g02e3756bd-1~ndall+1
24 ### The repository in GIN
25 [https://gin.g-node.org/ivis-mizuguchi/https](https://gin.g-node.org/ivis-mizuguchi/https)
27 ### I have done the following process and failed.
28 1. Create a repository named [https](https://gin.g-node.org/ivis-mizuguchi/https) in GIN with initialization. And set the repository to public.
29 2. git clone https://gin.g-node.org/ivis-mizuguchi/https
32 5. echo \"test\" > test.txt
33 6. git annex add test.txt
34 7. git commit -m \"test\"
35 8. git annex sync origin
36 9. echo \"test\" > test2.txt
37 10. git annex add 'test2.txt'
38 11. git commit -m 'test2'
39 12. git push origin master
40 13. git annex copy --to=origin test2.txt
41 <pre>(base) <font color=\"#8AE234\"><b>mizuguchi@ubuntu</b></font>:<font color=\"#729FCF\"><b>~/https</b></font>$ git annex copy --to=origin test2.txt
42 copy test2.txt (not found) failed
46 <pre>(base) <font color=\"#8AE234\"><b>mizuguchi@ubuntu</b></font>:<font color=\"#729FCF\"><b>~/https</b></font>$ cat .git/config
48 repositoryformatversion = 0
51 logallrefupdates = true
52 [remote "origin"]
53 url = https://gin.g-node.org/ivis-mizuguchi/https
54 fetch = +refs/heads/*:refs/remotes/origin/*
55 annex-uuid = c7a50190-9146-44de-8f1d-288551fa32e3
56 [branch "master"]
58 merge = refs/heads/master
60 uuid = 80f0adc3-3144-4bba-a288-09a9ab009cef
62 [filter "annex"]
63 smudge = git-annex smudge -- %f
64 clean = git-annex smudge --clean -- %f
67 Any advice would be appreciated.